<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
$intLID = (int)$_data["ID"];
$arrTimeParam["GameTime"] = $_data["arrGameTime"];
$arrTimeParam["EndGameTime"] = $_data["arrEndGameTime"];

$strTimeParam = addslashes(serialize($arrTimeParam));
$strSQL = "update `bet_Lotto` set `TimeParam` = '".$strTimeParam."' where ID = '".$intLID."'";
if(!PMA_mysql_query($strSQL, $_ConnMaster)){
	$GLOBALS["errormessage"] = "Update Time Params Data Error!!";
	$GLOBALS["errorhidden"] = "Error: ".PMA_mysql_error($_ConnMaster)."\nLine:".__LINE__."\nPage:".__FILE__;
	return false;
}

$strLogCon = "LID: ".$intLID."\n".$strTimeParam;
AddData_Log("", "更改 Lotto 一日彩期參數", $strLogCon);

header("Location: ".basename($_SERVER["PHP_SELF"])."?op=List&Page=".(string)intval($_data["Page"]));
?>